export class DocumentInfo {

  dic:Map<string,string> = new Map();
  creationTime:number = new Date().getTime();
  revisionTime:number = new Date().getTime();
  printTime:number = new Date().getTime();
  backupTime:number = new Date().getTime();
  getInfo(strName:string) {
    return this.dic[strName];
  }
  setInfo(key:string,value:string) {
    this.dic[key] = value;
  }

  clear() {
    this.dic.clear();
    this.creationTime = new Date().getTime();
    this.revisionTime = new Date().getTime();
    this.printTime = new Date().getTime();
    this.backupTime = new Date().getTime();
  }
}